/*******************************************************************************

PooledRegions analysis_villagelevelaccess.do

2022.04.17 (DJ) Created

This do file runs the price heterogeneity regression using lower and upper bound 
estimates of travel cost per km. 
*******************************************************************************/



global cirobust "Code/robustness_travelcost/"

do "${cirobust}/PooledRegions analysis_travelcost_CI.do"

est clear
foreach side in bl bu{

	global pavedcost_perkm = ${paved_`side'}
	global ruralcost_perkm = ${rural_`side'}

	include "${cirobust}/PooledRegions make_ViltoVil_ViltoMktCost_TC.do" // `ViltoMkt_KMCOST'
	include "${cirobust}/Kilimanjaro ViltoAV_TC.do" // `kilimanjaroViltoAV'
	include "${cirobust}/Manyara ViltoAV_TC.do" // `manyaraViltoAV'
	include "${cirobust}/PooledRegions analysis_villagelevelaccess_TC.do"
	
}	

#d;
esttab * using "${pool_results}/PooledRegions travelcost_CI.csv", replace
	sfmt("%9.2f" "%9.2f") se(2) b(2)
	star(* 0.10 ** 0.05 *** 0.01)
	sca("ybar mean" "ysd sd")
;
#d cr
